//
//  ZYXChooseTabHeader.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/9.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXChooseTabHeader.h"

@implementation ZYXChooseTabHeader

-(void)awakeFromNib{
    [super awakeFromNib];
}
-(void)setModel:(ZYXClassificationModel *)model{
    _model = model;
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(model.picUrl)] placeholderImage:IMG(@"imgLoading")];
    self.titleLabel.text = model.title;
    self.detLabel.text = model.introduce;
    
}
@end
